﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace Crosshatch2
{
    static class Global
    {
        public static int ScreenWidth { get { return SharedGraphicsDeviceManager.Current.GraphicsDevice.DisplayMode.Width; } }
        public static int ScreenHeight { get { return SharedGraphicsDeviceManager.Current.GraphicsDevice.DisplayMode.Height; } }

        public static Random rand;

        public static Texture2D white;
        public static int gridSize = 70;

        static Global()
        {
            rand = new Random();

            white = new Texture2D(SharedGraphicsDeviceManager.Current.GraphicsDevice,
                1,
                1);
            Color[] data = new Color[1];
            data[0] = Color.White;
            white.SetData<Color>(data);
        }
    }
}
